<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('AdminGoodsType/index')}">类型显示</a></li>
        <li><a href="{:url('AdminGoodsType/add')}">添加类型</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20" action="{:url('AdminGoodsType/listOrder')}">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>

                <th width="3%">ID</th>
                <th width="30%">类型名称</th>
                <th width="10%">操作</th>
            </tr>
            </thead>
            <tbody>
                <foreach name="data" id="da">
                    <tr>
                        <th>{$da.id}</th>
                        <th>{$da.name}</th>
                        <th>
                            <a href="{:url('AdminGoodsType/edit',array('id'=>$da['id']))}">编辑</a>
                            <a href="{:url('AdminGoodsType/delete',array('id'=>$da['id']))}" class="js-ajax-delete">{:lang('DELETE')}</a>
                        </th>
                    </tr>
                </foreach>
            </tbody>
            <tfoot>
            <tr>
                <th width="3%">ID</th>
                <th width="30%">类型名称</th>
                <th width="10%">操作</th>
            </tr>
            </tfoot>
        </table>
    </form>
    <ul class="pagination"></ul>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>